<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: DoubleLinkedList&lt; DT &gt;::const_iterator Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">My Project
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a></li><li class="navelem"><a class="el" href="classDoubleLinkedList_1_1const__iterator.html">const_iterator</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="classDoubleLinkedList_1_1const__iterator-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">DoubleLinkedList&lt; DT &gt;::const_iterator Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>A brief discprition of <a class="el" href="classDoubleLinkedList_1_1const__iterator.html" title="A brief discprition of const_iterator The const_iterator is unable to change member variables,...">const_iterator</a> The <a class="el" href="classDoubleLinkedList_1_1const__iterator.html" title="A brief discprition of const_iterator The const_iterator is unable to change member variables,...">const_iterator</a> is unable to change member variables, but can visit objects of constant type.  
 <a href="classDoubleLinkedList_1_1const__iterator.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="DoubleLinkedList_8h_source.html">DoubleLinkedList.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for DoubleLinkedList&lt; DT &gt;::const_iterator:</div>
<div class="dyncontent">
<div class="center"><img src="classDoubleLinkedList_1_1const__iterator__inherit__graph.png" border="0" usemap="#aDoubleLinkedList_3_01DT_01_4_1_1const__iterator_inherit__map" alt="Inheritance graph"/></div>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for DoubleLinkedList&lt; DT &gt;::const_iterator:</div>
<div class="dyncontent">
<div class="center"><img src="classDoubleLinkedList_1_1const__iterator__coll__graph.png" border="0" usemap="#aDoubleLinkedList_3_01DT_01_4_1_1const__iterator_coll__map" alt="Collaboration graph"/></div>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a112ee57553bfe22c9a26c21267bfd226"><td class="memItemLeft" align="right" valign="top"><a id="a112ee57553bfe22c9a26c21267bfd226"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDoubleLinkedList_1_1const__iterator.html#a112ee57553bfe22c9a26c21267bfd226">const_iterator</a> ()</td></tr>
<tr class="memdesc:a112ee57553bfe22c9a26c21267bfd226"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a new const iterator object. <br /></td></tr>
<tr class="separator:a112ee57553bfe22c9a26c21267bfd226"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3402baf1083aa613ca04732e7d783179"><td class="memItemLeft" align="right" valign="top">const DT &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDoubleLinkedList_1_1const__iterator.html#a3402baf1083aa613ca04732e7d783179">operator*</a> () const</td></tr>
<tr class="memdesc:a3402baf1083aa613ca04732e7d783179"><td class="mdescLeft">&#160;</td><td class="mdescRight">Redefine the operator *, using for read the data of the node.  <a href="classDoubleLinkedList_1_1const__iterator.html#a3402baf1083aa613ca04732e7d783179">More...</a><br /></td></tr>
<tr class="separator:a3402baf1083aa613ca04732e7d783179"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f6c7762f7932f1abcd6286b9c8360e1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classDoubleLinkedList_1_1const__iterator.html">const_iterator</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDoubleLinkedList_1_1const__iterator.html#a4f6c7762f7932f1abcd6286b9c8360e1">operator++</a> ()</td></tr>
<tr class="memdesc:a4f6c7762f7932f1abcd6286b9c8360e1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Redefine the operator ++(front type). current point to the next node.  <a href="classDoubleLinkedList_1_1const__iterator.html#a4f6c7762f7932f1abcd6286b9c8360e1">More...</a><br /></td></tr>
<tr class="separator:a4f6c7762f7932f1abcd6286b9c8360e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac942285901621d71c0ea312ee2e16149"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classDoubleLinkedList_1_1const__iterator.html">const_iterator</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDoubleLinkedList_1_1const__iterator.html#ac942285901621d71c0ea312ee2e16149">operator++</a> (int)</td></tr>
<tr class="memdesc:ac942285901621d71c0ea312ee2e16149"><td class="mdescLeft">&#160;</td><td class="mdescRight">Redefine the operator ++(back type) Due to old is temporary, usage of reference is wrong.  <a href="classDoubleLinkedList_1_1const__iterator.html#ac942285901621d71c0ea312ee2e16149">More...</a><br /></td></tr>
<tr class="separator:ac942285901621d71c0ea312ee2e16149"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad93b067ec784301698d9890c721d3668"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classDoubleLinkedList_1_1const__iterator.html">const_iterator</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDoubleLinkedList_1_1const__iterator.html#ad93b067ec784301698d9890c721d3668">operator--</a> ()</td></tr>
<tr class="memdesc:ad93b067ec784301698d9890c721d3668"><td class="mdescLeft">&#160;</td><td class="mdescRight">visit the previous node  <a href="classDoubleLinkedList_1_1const__iterator.html#ad93b067ec784301698d9890c721d3668">More...</a><br /></td></tr>
<tr class="separator:ad93b067ec784301698d9890c721d3668"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acfca335a1870bcccdb3f656b95ed1fad"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classDoubleLinkedList_1_1const__iterator.html">const_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDoubleLinkedList_1_1const__iterator.html#acfca335a1870bcccdb3f656b95ed1fad">operator--</a> (int)</td></tr>
<tr class="memdesc:acfca335a1870bcccdb3f656b95ed1fad"><td class="mdescLeft">&#160;</td><td class="mdescRight">visit the previous node  <a href="classDoubleLinkedList_1_1const__iterator.html#acfca335a1870bcccdb3f656b95ed1fad">More...</a><br /></td></tr>
<tr class="separator:acfca335a1870bcccdb3f656b95ed1fad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a512b2d20b89afad27ab692e8ea1134d4"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDoubleLinkedList_1_1const__iterator.html#a512b2d20b89afad27ab692e8ea1134d4">operator==</a> (const <a class="el" href="classDoubleLinkedList_1_1const__iterator.html">const_iterator</a> &amp;rhs) const</td></tr>
<tr class="memdesc:a512b2d20b89afad27ab692e8ea1134d4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Redefine == Judje whether two iterators are identical.  <a href="classDoubleLinkedList_1_1const__iterator.html#a512b2d20b89afad27ab692e8ea1134d4">More...</a><br /></td></tr>
<tr class="separator:a512b2d20b89afad27ab692e8ea1134d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2446ddd53bbc08c8b2fcc333db23ccb4"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDoubleLinkedList_1_1const__iterator.html#a2446ddd53bbc08c8b2fcc333db23ccb4">operator!=</a> (const <a class="el" href="classDoubleLinkedList_1_1const__iterator.html">const_iterator</a> &amp;rhs) const</td></tr>
<tr class="memdesc:a2446ddd53bbc08c8b2fcc333db23ccb4"><td class="mdescLeft">&#160;</td><td class="mdescRight">akin to the overload ==  <a href="classDoubleLinkedList_1_1const__iterator.html#a2446ddd53bbc08c8b2fcc333db23ccb4">More...</a><br /></td></tr>
<tr class="separator:a2446ddd53bbc08c8b2fcc333db23ccb4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:ae1db2e1e4c42600c184f6162157e4635"><td class="memItemLeft" align="right" valign="top">DT &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDoubleLinkedList_1_1const__iterator.html#ae1db2e1e4c42600c184f6162157e4635">retrieve</a> () const</td></tr>
<tr class="memdesc:ae1db2e1e4c42600c184f6162157e4635"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the reference of data pointed by current.  <a href="classDoubleLinkedList_1_1const__iterator.html#ae1db2e1e4c42600c184f6162157e4635">More...</a><br /></td></tr>
<tr class="separator:ae1db2e1e4c42600c184f6162157e4635"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32e0bd5fcc6b2379ab6ffceb154a3058"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDoubleLinkedList_1_1const__iterator.html#a32e0bd5fcc6b2379ab6ffceb154a3058">const_iterator</a> (Node *p)</td></tr>
<tr class="memdesc:a32e0bd5fcc6b2379ab6ffceb154a3058"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a new const iterator object.  <a href="classDoubleLinkedList_1_1const__iterator.html#a32e0bd5fcc6b2379ab6ffceb154a3058">More...</a><br /></td></tr>
<tr class="separator:a32e0bd5fcc6b2379ab6ffceb154a3058"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a746a66ff1facbbf98a43e86cd6d11724"><td class="memItemLeft" align="right" valign="top"><a id="a746a66ff1facbbf98a43e86cd6d11724"></a>
Node *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDoubleLinkedList_1_1const__iterator.html#a746a66ff1facbbf98a43e86cd6d11724">current</a></td></tr>
<tr class="memdesc:a746a66ff1facbbf98a43e86cd6d11724"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy the pointer of node in existence It's procted thus it could be visited by the inheritance of the class. <br /></td></tr>
<tr class="separator:a746a66ff1facbbf98a43e86cd6d11724"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:acd436ad14dcf75e42eec3f1544e934f3"><td class="memItemLeft" align="right" valign="top"><a id="acd436ad14dcf75e42eec3f1544e934f3"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDoubleLinkedList_1_1const__iterator.html#acd436ad14dcf75e42eec3f1544e934f3">DoubleLinkedList&lt; DT &gt;</a></td></tr>
<tr class="memdesc:acd436ad14dcf75e42eec3f1544e934f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">able to visit any member in DoubleLInkedList <br /></td></tr>
<tr class="separator:acd436ad14dcf75e42eec3f1544e934f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename DT&gt;<br />
class DoubleLinkedList&lt; DT &gt;::const_iterator</h3>

<p>A brief discprition of <a class="el" href="classDoubleLinkedList_1_1const__iterator.html" title="A brief discprition of const_iterator The const_iterator is unable to change member variables,...">const_iterator</a> The <a class="el" href="classDoubleLinkedList_1_1const__iterator.html" title="A brief discprition of const_iterator The const_iterator is unable to change member variables,...">const_iterator</a> is unable to change member variables, but can visit objects of constant type. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a32e0bd5fcc6b2379ab6ffceb154a3058"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a32e0bd5fcc6b2379ab6ffceb154a3058">&#9670;&nbsp;</a></span>const_iterator()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename DT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a>&lt; DT &gt;::const_iterator::const_iterator </td>
          <td>(</td>
          <td class="paramtype">Node *&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Construct a new const iterator object. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">p</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a2446ddd53bbc08c8b2fcc333db23ccb4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2446ddd53bbc08c8b2fcc333db23ccb4">&#9670;&nbsp;</a></span>operator!=()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename DT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a>&lt; DT &gt;::const_iterator::operator!= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classDoubleLinkedList_1_1const__iterator.html">const_iterator</a> &amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>akin to the overload == </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">rhs</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true </dd>
<dd>
false </dd></dl>

</div>
</div>
<a id="a3402baf1083aa613ca04732e7d783179"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3402baf1083aa613ca04732e7d783179">&#9670;&nbsp;</a></span>operator*()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename DT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const DT&amp; <a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a>&lt; DT &gt;::const_iterator::operator* </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Redefine the operator *, using for read the data of the node. </p>
<dl class="section return"><dt>Returns</dt><dd>const DT&amp; </dd></dl>

</div>
</div>
<a id="a4f6c7762f7932f1abcd6286b9c8360e1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4f6c7762f7932f1abcd6286b9c8360e1">&#9670;&nbsp;</a></span>operator++() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename DT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classDoubleLinkedList_1_1const__iterator.html">const_iterator</a>&amp; <a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a>&lt; DT &gt;::const_iterator::operator++ </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Redefine the operator ++(front type). current point to the next node. </p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classDoubleLinkedList_1_1const__iterator.html" title="A brief discprition of const_iterator The const_iterator is unable to change member variables,...">const_iterator</a>&amp; </dd></dl>

</div>
</div>
<a id="ac942285901621d71c0ea312ee2e16149"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac942285901621d71c0ea312ee2e16149">&#9670;&nbsp;</a></span>operator++() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename DT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classDoubleLinkedList_1_1const__iterator.html">const_iterator</a>&amp; <a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a>&lt; DT &gt;::const_iterator::operator++ </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Redefine the operator ++(back type) Due to old is temporary, usage of reference is wrong. </p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classDoubleLinkedList_1_1const__iterator.html" title="A brief discprition of const_iterator The const_iterator is unable to change member variables,...">const_iterator</a> </dd></dl>

</div>
</div>
<a id="ad93b067ec784301698d9890c721d3668"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad93b067ec784301698d9890c721d3668">&#9670;&nbsp;</a></span>operator--() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename DT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classDoubleLinkedList_1_1const__iterator.html">const_iterator</a>&amp; <a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a>&lt; DT &gt;::const_iterator::operator-- </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>visit the previous node </p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classDoubleLinkedList_1_1const__iterator.html" title="A brief discprition of const_iterator The const_iterator is unable to change member variables,...">const_iterator</a>&amp; </dd></dl>

</div>
</div>
<a id="acfca335a1870bcccdb3f656b95ed1fad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acfca335a1870bcccdb3f656b95ed1fad">&#9670;&nbsp;</a></span>operator--() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename DT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classDoubleLinkedList_1_1const__iterator.html">const_iterator</a> <a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a>&lt; DT &gt;::const_iterator::operator-- </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>visit the previous node </p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classDoubleLinkedList_1_1const__iterator.html" title="A brief discprition of const_iterator The const_iterator is unable to change member variables,...">const_iterator</a> </dd></dl>

</div>
</div>
<a id="a512b2d20b89afad27ab692e8ea1134d4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a512b2d20b89afad27ab692e8ea1134d4">&#9670;&nbsp;</a></span>operator==()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename DT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a>&lt; DT &gt;::const_iterator::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classDoubleLinkedList_1_1const__iterator.html">const_iterator</a> &amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Redefine == Judje whether two iterators are identical. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">rhs</td><td>Transmit the pointer of the node into </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true </dd>
<dd>
false </dd></dl>

</div>
</div>
<a id="ae1db2e1e4c42600c184f6162157e4635"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae1db2e1e4c42600c184f6162157e4635">&#9670;&nbsp;</a></span>retrieve()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename DT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">DT&amp; <a class="el" href="classDoubleLinkedList.html">DoubleLinkedList</a>&lt; DT &gt;::const_iterator::retrieve </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the reference of data pointed by current. </p>
<dl class="section return"><dt>Returns</dt><dd>DT&amp; </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="DoubleLinkedList_8h_source.html">DoubleLinkedList.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>
